package com.hq.service;

import com.github.pagehelper.PageInfo;
import com.hq.pojo.Appointment;
import com.hq.pojo.Doctor;
import org.springframework.stereotype.Service;


import java.util.Map;

public interface AdminService {
    PageInfo<Appointment> selectAllUser(int pageNum, int pageSize);

    //修改密码
    Map<String, String> updatePass(String name, String pwd, String newPass, String renewPass);

    //获取所有医生的全部信息
    PageInfo<Doctor> selectAllDoctor(int pageNum, int pageSize);

    //根据医护人员的姓名查看预约人员情况
    PageInfo<Appointment> selectDoctorAllUser(String name);

    //删除appoint
    void delAppoint(Integer appointId);

    //删除doctor
    void delDoctor(Integer doctorId);
}
